package org.commentservice.entity;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "Comment",description = "评论实体")
public class Comment {

  @Schema(name = "commentId",description = "评论id")
  private long commentId;

  @Schema(name = "houseId",description = "房源id")
  private long houseId;

  @Schema(name = "tenantId",description = "租客id")
  private long tenantId;

  @Schema(name = "content",description = "内容")
  private String content;

  @Schema(name = "rating",description = "评分")
  private long rating;

  @Schema(name = "commentTime",description = "评论时间")
  private java.sql.Timestamp commentTime;


  public long getCommentId() {
    return commentId;
  }

  public void setCommentId(long commentId) {
    this.commentId = commentId;
  }


  public long getHouseId() {
    return houseId;
  }

  public void setHouseId(long houseId) {
    this.houseId = houseId;
  }


  public long getTenantId() {
    return tenantId;
  }

  public void setTenantId(long tenantId) {
    this.tenantId = tenantId;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public long getRating() {
    return rating;
  }

  public void setRating(long rating) {
    this.rating = rating;
  }


  public java.sql.Timestamp getCommentTime() {
    return commentTime;
  }

  public void setCommentTime(java.sql.Timestamp commentTime) {
    this.commentTime = commentTime;
  }

}
